<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
    String path = request.getContextPath();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>用户注册</title>
<link rel="shortcut icon" href="../image/favicon.ico" />
<script src="js/jquery-1.9.0.js"></script>
<script type="text/javascript" src="js/register_jquery.js"></script>
<link href="css/register_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
	<div id="container">
		<div id="header">用户注册</div>

		<div id="content">

			<div id="content_top">
				<div id="content_top_left"></div>
				<div id="content_top_right"></div>
				<div id="content_top_title">
					<div id="content_top_title_reg_01"></div>
					<div id="content_top_title_reg_02"></div>
				</div>
			</div>

			<div id="centent_center">
				<div id="content_center_left"></div>
				<div id="content_center_right"></div>
				<div id="content_center_form">
					<s:form action="front/user!signUp" id="signUpForm"
						name="signUpForm" method="post" onsubmit="return validateForm()">
						<table id="tableSignUp">
							<tr>
								<td class="inforName"><span class="txt_impt">*</span>用户名:</td>
								<td class="txt_input"><input class="inputbox"
									id="txtUserName" name="user.userName" type="text" /><span
									id="picUserName"></span></td>
							</tr>
							<tr>
								<td></td>
								<td><div id="showUserName" class="txt_tips"></div></td>
							</tr>
							<tr>
								<td class="inforName"><span class="txt_impt">*</span>密 码:</td>
								<td class="txt_input"><input class="inputbox"
									id="txtPassword" name="user.password" type="password" /><span
									id="picPassword"></span></td>
							</tr>
							<tr>
								<td></td>
								<td><div id="showPassword" class="txt_tips"></div></td>
							</tr>
							<tr>
								<td class="inforName"><span class="txt_impt">*</span>确认密码:</td>
								<td><input class="inputbox" id="txtConfirmPassword"
									name="confirmPassword" type="password" /><span
									id="picConfirmPassword"></span></td>
							</tr>
							<tr>
								<td></td>
								<td><div id="showConfirmPassword" class="txt_tips"></div></td>
							</tr>
							<tr>
								<td class="inforName"><span class="txt_impt">*</span>性别:</td>
								<td><input name="user.sex" type="radio" id="boy" value="男"
									checked="checked" /> 男 <input type="radio" name="user.sex"
									id="girl" value="女" /> 女</td>
							</tr>
							<tr>
								<td class="inforName"><span class="txt_impt">*</span>验证码:</td>
								<td><input class="inputbox" id="txtValidateCode"
									name="validateCode" type="text" maxlength="4" /><span id="picCode"></span></td>
							</tr>
							<tr>
								<td><input type="hidden" name="user.isAdmin" value="0" /></td>
								<td>
								<img alt="点击刷新" name="randImage" id="randImage"
									src="<%=path %>/ValidateCode.do" width="100px" height="30px"
									border="1" /> <font id="changeImage">看不清?换张图片</font></td>
							</tr>
							<tr>
								<td colspan="2" class="btn"><input id="btn_reg"
									type="submit" value="" /></td>
							</tr>
						</table>
					</s:form>
				</div>
			</div>


			<div id="content_footer">
				<div id="content_footer_left"></div>
				<div id="content_footer_right"></div>
			</div>
		</div>

		<div id="footer"></div>
	</div>

</body>
</html>